<?php


namespace BigVideo\Other\Proxy;


class JuHeLogCar implements MoveAble
{

    public function getClassName()
    {
        return "JuHeLogCar";
    }

    private $car;

    public function __construct(MoveAble $carInstance)
    {
        $this->car = $carInstance;
    }

    public function move()
    {
        echo "日志开始\n";
        $this->car->move();
        echo "日志结束\n";
    }
}